package com.zhonghui.modlules.user.eshopService;


import com.eshop.service.BaseService;
import com.zhonghui.modlules.user.eshopDomain.UserAddress;
import com.zhonghui.modlules.user.eshopParam.AddressParam;
import com.zhonghui.modlules.user.eshopVo.UserAddressQueryVo;

import java.util.List;

public interface UserAddressService extends BaseService<UserAddress> {
    void setDefault(Long uid, Long addressId);

    List<UserAddressQueryVo> getList(Long uid, int page, int limit);

    UserAddressQueryVo getDetail(Long id);

    Long addAndEdit(Long uid, AddressParam param);
}
